#!/bin/bash

case $1 in
	-u ) echo "Searching /`logname` for:$2"
	find /`logname` -name $2 -print;;
	-[cs]) echo "Searching for command:$2"
	find /bin /usr/bin /etc	 -name $2 -print;;
	*)echo "invalid first argument.";;
esac